package com.navi.loaddata.loadService.impl.edaDifference;

import com.navi.loaddata.core.etlException.ETLException;
import com.navi.loaddata.core.mysqlEntity.EdaDiffD;
import com.navi.loaddata.core.mysqlEntity.EdaDiffDModel;
import com.navi.loaddata.core.mysqlEntity.EtlConfDModel;
import com.navi.loaddata.core.repository.impl.MySqlRepositoryImpl;
import com.navi.loaddata.core.util.JdbcUtil;
import com.navi.loaddata.core.util.LoggerUtil;
import org.apache.commons.dbutils.QueryRunner;
import org.apache.commons.dbutils.handlers.BeanListHandler;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * @author xufan
 */
@Service
@Transactional(transactionManager = "primaryPlatformTransactionManager")
public class SaveEdaDiff {
    private static final Logger logger = LoggerFactory.getLogger(SaveEdaDiff.class);
    private LoggerUtil loggerUtil = new LoggerUtil(this.getClass());

    @Autowired
    private MySqlRepositoryImpl mysqlDao;



    public void saveCnt(EdaDiffD e) {

        mysqlDao.save(e);
    }
}
